from func.config.config_base import ConfigBase

class defaultConfig:
    def __init__(self):
        self.configBase = ConfigBase("config.yml", "utf-8")
        # 加载配置
        self.config = self.configBase.get_config()

    def save_config(self):
        return self.configBase.save()

    def get_config(self):
        return self.config